package org.sn.jdish.designmode.command;

public class CommandMain {

	public static void main(String[] args) {
		Receiver receiver = new Receiver();
		Command command = new FirstCommand(receiver);
		Invoker invoker = new Invoker(command);
		invoker.action();

		command = new SecondCommand(receiver);
		invoker = new Invoker(command);
		invoker.action();
	}

}
